package com.hexiang.dao;

import com.hexiang.po.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmployeeDao {

	List<Employee> findAll();
	
	@Select("SELECT * FROM employee WHERE id = #{id}")
	Employee selectById(Integer id);
	
}
